{% extends "extend/base.html" %}

{% block page_content %}
	<h4>测试ckeditor</h4>
	<form method="post">
		{{ form.csrf_token }}
		{{ form.editor(class='ckeditor')}}
		{{ form.submit }}
	</form>	
{% endblock %}

{% block select_nav %}		
	{% if current_user.is_authenticated %}
		selectPage(4);
	{% else %}
		selectPage(3);
	{% endif %}	
{% endblock %}

{% block scripts %}
    {{ super()}}
    <script type="text/javascript" src="{{ url_for('static',filename='js/ckeditor/ckeditor.js') }}"></script>
{% endblock %}